<template>
	<view class="flex-row justify-between self-stretch group_4">
		<view class="flex-row items-center self-center">
			<view class="flex-col justify-center items-center section_6">
				<u-image :src="image" height="48rpx" width="48rpx" />
				<!-- <view class="flex-col justify-start items-center badge"><text class="font_2">1</text></view> -->
			</view>
			<view class="ml-8 flex-col">
				<view class="flex-row items-baseline">
					<text class="font_4">{{title}}</text>
				</view>
			</view>
		</view>
		<!-- <text class="self-start font_5 text_6">12:00</text> -->
	</view>
</template>

<script>
	export default {
		props: {
			title: {
				type:String,
				default:''
			},
			image: {
				type:String,
				default:''
			},
		},
	}
</script>

<style lang="scss" scoped>
	.group_4 {
		padding: 24rpx 0;

		.section_6 {
			width: 96rpx;
			height: 96rpx;
			background-color: #FCD610;
			border-radius: 26rpx;
			position: relative;

			.badge {
				position: absolute;
				top: 0px;
				right: 0;
				padding: 8rpx 0;
				background-color: #ff7676;
				border-radius: 50%;
				width: 32rpx;

				.font_2 {
					font-size: 24rpx;
					font-family: PingFang SC;
					line-height: 17.14rpx;
					font-weight: 700;
					color: #ffffff;
				}
			}
		}

		.font_4 {
			font-size: 28rpx;
			font-family: PingFang SC;
			line-height: 20rpx;
			font-weight: bold;
			color: #000000;
		}

		.font_3 {
			font-size: 24rpx;
			font-family: PingFang SC;
			line-height: 22.22rpx;
			color: #999999;
		}

		.font_6 {
			font-size: 24rpx;
			font-family: PingFang SC;
			line-height: 23.96rpx;
			color: #999999;
		}

		.font_5 {
			font-size: 24rpx;
			font-family: PingFang SC;
			line-height: 17.14rpx;
			color: #999999;
		}

		.text_6 {
			margin-top: 8rpx;
			line-height: 17.8rpx;
		}
	}
</style>